package cn.samir.sudoku.core;

import java.util.ArrayList;

public class DefaultGames {
	public static final int LEVEL_1 = 1;
	public static final int LEVEL_2 = 2;
	public static final int LEVEL_3 = 3;
	public static final int LEVEL_4 = 4;
	public static final int LEVEL_5 = 5;
	public static final int LEVEL_6 = 6;
	public static final int LEVEL_7 = 7;
	public static final int LEVEL_8 = 8;
	public static ArrayList<Sudokus> games = new ArrayList<Sudokus>();
	static {
		
	}

	public static Sudokus getOne() {
		return games.get(0);
	}

	
	public static ArrayList<Sudokus> getGroupByHelpNumber(int number) {
		ArrayList<Sudokus> gs = new ArrayList<Sudokus>();
		for (Sudokus g : games) {
			if (g.numberHelp == number) {
				gs.add(g);
			}
		}
		return gs;
	}

	// public static class Game implements Comparable<Game> {
	// int level;
	// String content;
	// String detailExplain;
	//
	// public Game(int level, String content) {
	// super();
	// this.level = level;
	// this.content = content;
	// detailExplain = "no more to say";
	// }
	//
	// @Override
	// public int compareTo(Game another) {
	// return (this.level > another.level ? 1
	// : (this.level == another.level ? 0 : -1));
	// }
	// }

}
